package com.tju.ocean_ecology_website.dto;

import java.io.Serializable;

/**
 * 服务时长记录DTO
 */
public class ServiceHoursDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 项目ID
     */
    private Long projectId;

    /**
     * 服务时长（小时）
     */
    private Integer hours;

    /**
     * 服务日期（YYYY-MM-DD）
     */
    private String date;

    /**
     * 服务描述（可选）
     */
    private String description;

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Integer getHours() {
        return hours;
    }

    public void setHours(Integer hours) {
        this.hours = hours;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
